<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			div {
				width: 100px;
				height: 100px;
				border: 5px solid red;
				animation: move 1s linear 1s 2 alternate;
			}
			
			@keyframes move{
				0%{
					background-color: green;
				}
				25%{
					background-color: blue;
					transform: translateX(300px);
				}
				50%{
					background-color: pink;
					transform: translate(300px,300px);
				}
				75%{
					background-color: aqua;
					transform: translateY(300px);
				}
				100%{
					background-color: yellow;
				}
			}
		</style>
	</head>
	<body>
		<div></div>
	</body>
</html>
